
// 懒加载组件  Loading
import React, { FC } from 'react'
import { DotLoading } from 'antd-mobile'

// 纯函数组件
const Loading:FC<any> = () => {
  return (
    <div style={{width:'100vw',height:'100vh',display:'flex',justifyContent:'center',alignItems:'center',flexDirection:'column'}}>
        <DotLoading color='primary' />
        <span style={{marginTop:8}}>Loading...</span>
    </div>
  )
}

export default Loading